<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.pollix.org/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>后台页面</title>
</head>
<body>
<h2>欢迎<span th:text="${session.USER_SESSION.realname}"></span></h2>
<div>
    <shiro:hasPermission name="user:select">
        <a href="user/select.do">查询用户</a><br>
    </shiro:hasPermission>
    <shiro:hasPermission name="user:add">
        <a href="user/add.do">增加用户</a><br>
    </shiro:hasPermission>
    <shiro:hasPermission name="user:update">
        <a href="user/update.do">修改用户</a><br>
    </shiro:hasPermission>
    <shiro:hasPermission name="user:delete">
        <a href="user/del.do">删除用户</a><br>
    </shiro:hasPermission>
</div>
</body>
</html>